You can program for 25 years without really understanding the difference between binary files, text files, ASCII, Unicode and UTF-8 encoding. But I had to dive in and what I learned is something that every Python developer should know.

What every Python developer should know about UTF-8, ASCII and binary.

In this video you learn how to open and inspect binary files. You Learn the difference between binary, text, ASCII and Unicode files. Then you learn how to use UTF-8 encoding to store and retrieve Unicode files in Python.

Written by Loek van den Ouweland on 2024-02-15.
Questions regarding this artice? You can send them to the address below.